//--------------------------------------------------------------
//
// Qizhi Zhang 
// ezhung@gmail.com
// http://www.moorwind.com
//
//--------------------------------------------------------------
package reader.model.vo
{
	import __AS3__.vec.Vector;
	
	[Bindable]
	public class AlbumVO
	{
		public var albumid:String;
		public var albumuri:String;			
		public var title:String;
		public var defaultimage:String;
		public var photosCount:int;
		
		//----------------------------------------------------------------------------
		//
		// Convert Vector to Array
		//
		//----------------------------------------------------------------------------
		
		public static function VectorToArray(v:Vector.<AlbumVO>):Array/* of AlbumVO */
		{
			var a:Array = [];
			for each(var i:AlbumVO in v)
			{
				a.push(i);
			}
			return a;
		}
	}
}